package org.jl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class PaymentController {

    @GetMapping("/payment/{id}")
    public String getPayment(@PathVariable("id") Long id) {
        log.info("id:{}", id);
        return "success";
    }
}
